var config = require('./config.js');

//骗审状态 
var getChecked = function(e){
	return config.getRequest("home/sys/getSys",e);
}
// 登录获取code换openid
var getCode = function(e){
	return config.getRequest("home/login/login",e);
}
//获取平台信息
var getSys = function(e){
	return config.getRequest("home/sys/index",e);
}
//获取个人基本信息 
var getMember = function(e){
	return config.getRequest("home/member/getMember",e);
}
//获取用户信息（判断上级） 
var getUserInfo = function(e){
	return config.postRequest("home/login/getUserInfo",e);
}
//我的发布
var getIssueJobList = function(e){
	return config.getRequest("home/User/getIssueJobList",e);
}
//我的人脉信息列表
var getMyContacts = function(e){
	return config.getRequest("home/Company/getMyContacts",e);
}
//获取二维码 
var getMyQrCode = function(e){
	return config.getRequest("home/Company/getMyQrCode",e);
}
//获取首页轮播
var getBanner = function(e){
	return config.getRequest("home/sys/getBanner",e);
}
//上传文件(图片)
var uploadPhoto = function(e){
	return config.postRequest("home/Uploading/uploadPhoto",e);
}
//获取工种列表
var getWork = function(e){
	return config.getRequest("home/sys/getWork",e);
}
//发布职位信息
var postJobs = function(e){
	return config.postRequest("home/user/issueJob",e);
}
//获取求职列表 
 var getJobList = function(e){
 	return config.getRequest("home/Company/getJobList",e);
}
//职工信息
var getJobDetail = function(e){
  	return config.postRequest("home/Company/getJobDetail",e);
}
//联系他具体信息 
var getContact = function(e){
  	return config.postRequest("home/Company/getContact",e);
}
//是否录用职工
var getHiring = function(e){
	return config.postRequest("home/Company/getHiring",e);
}
//支付
var postPay = function(e){
	return config.postRequest("home/user/pay",e);
}
 
module.exports = {
	getChecked,
    getCode,
	getSys,
	getMember,
	getUserInfo,
	getIssueJobList,
	getMyContacts,
	getMyQrCode,
	getBanner,
	uploadPhoto,
	getWork,
	postJobs,
	getJobList,
	getJobDetail,
	getContact,
	getHiring,
	postPay
}
